package com.dongge.aop;

import org.springframework.stereotype.Repository;

/**
 * Created by dongge on 16/8/3.
 */
@Repository
public class A {
    public void print(){
        System.out.println("This is A.print");
    }

    public void delete(String name){
        System.out.println("Hello:"+name);
    }

    public void output(){
        System.out.println("output test!");
    }

    public void setName(String name){
        System.out.println("Welcome :"+name);
    }

    @IRight()
    public void update(){
        System.out.printf("update called");
    }
}
